projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739593d
)
Adjust ob-tangle to new copy-file behavior
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 11 Sep 2017 05:22:55 +0000
(22:22 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 11 Sep 2017 05:31:23 +0000
(22:31 -0700)
* lisp/org/ob-tangle.el (org-babel-tangle-publish):
Port to new copy-file behavior.
lisp/org/ob-tangle.el
patch
|
blob
|
history
diff --git
a/lisp/org/ob-tangle.el
b/lisp/org/ob-tangle.el
index 3b0533261c686e4b2fc96219064af90680c3d424..2dc55caf89c46e27a365c8e98ede7ca95d87065f 100644
(file)
--- a/
lisp/org/ob-tangle.el
+++ b/
lisp/org/ob-tangle.el
@@
-197,6
+197,7
@@
Return a list whose CAR is the tangled file name."
"Tangle FILENAME and place the results in PUB-DIR."
(unless (file-exists-p pub-dir)
(make-directory pub-dir t))
+ (setq pub-dir (file-name-as-directory pub-dir))
(mapc (lambda (el) (copy-file el pub-dir t)) (org-babel-tangle-file filename)))
;;;###autoload